package boot.spring.service;

import boot.spring.po.Lab;
import org.activiti.engine.runtime.ProcessInstance;

import java.util.List;
import java.util.Map;

public interface LabService {
	public ProcessInstance startWorkflow(Lab apply, String userid, Map<String, Object> variables);
	public List<Lab> getalldepttask(String userid);
	public Lab getlab(int id);
	public List<Lab> getupdateapplytask(String userid);
	public int getallupdateapplytask(String userid);
	public void updatecomplete(String taskid, Lab lab, String reappply);

}
